package com.i7time.service;

import com.i7time.entity.Info;

import java.util.List;

/**
 * 资讯
 * Created by pengweiyuan on 6/7/16.
 */
public interface InfoService {

    List<Info> getInfoBySceneId(long sceneId);

    Info addInfo(long sceneId,String name,String title,String content,String avatar);

    Info updateInfo(long id,String name,String title,String content,String avatar);

    boolean deleteInfo(long infoId);

}
